<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="配置分发管理">
        <device-drinkstation-device-template-command-template-distribute :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="配置模板管理">
        <device-drinkstation-device-template-drinkingstation-config-template :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceDrinkstationDeviceTemplateCommandTemplateDistribute from './drinkingstation-device-template-command-template-distribute.vue'
import DeviceDrinkstationDeviceTemplateDrinkingstationConfigTemplate from './drinkingstation-device-template-drinkingstation-config-template.vue'

export default {
  name: 'DeviceDrinkstationDeviceTemplateManager',
  components: {
    DeviceDrinkstationDeviceTemplateCommandTemplateDistribute,
    DeviceDrinkstationDeviceTemplateDrinkingstationConfigTemplate
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
